package com.prs.crm.context;

import com.prs.crm.domain.hr.Person;

public class AccountContext {
	
	private Person user;
	
	public AccountContext(Person user)
	{
		this.user = user;
	}
	
	public String getUserName()
	{
		return user.getLoginCode();
	}
	
	public Person getUser()
	{
		return user;
	}
	
	public Person currentUser()
	{
		return user;
	}
}
